package com.ruoyi.smart.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品高压记录对象 smart_product_gy
 * 
 * @author minwei
 * @date 2022-04-07
 */
public class SmartProductGy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 测试结果 */
    @Excel(name = "测试结果")
    private String testResult;

    /** 测试时长 */
    @Excel(name = "测试时长")
    private String testTime;

    /** 电压 */
    @Excel(name = "电压")
    private String current;

    /** 电压 */
    @Excel(name = "电压")
    private String voltage;

    /** 设备id */
    @Excel(name = "设备id")
    private String deviceId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private String state;

    /** 产品id */
    @Excel(name = "产品id")
    private String productId;

    /** 波形数据 */
    @Excel(name = "波形数据")
    private String waveformsId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTestResult(String testResult) 
    {
        this.testResult = testResult;
    }

    public String getTestResult() 
    {
        return testResult;
    }
    public void setTestTime(String testTime) 
    {
        this.testTime = testTime;
    }

    public String getTestTime() 
    {
        return testTime;
    }
    public void setCurrent(String current) 
    {
        this.current = current;
    }

    public String getCurrent() 
    {
        return current;
    }
    public void setVoltage(String voltage) 
    {
        this.voltage = voltage;
    }

    public String getVoltage() 
    {
        return voltage;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }
    public void setWaveformsId(String waveformsId) 
    {
        this.waveformsId = waveformsId;
    }

    public String getWaveformsId() 
    {
        return waveformsId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("testResult", getTestResult())
            .append("testTime", getTestTime())
            .append("current", getCurrent())
            .append("voltage", getVoltage())
            .append("deviceId", getDeviceId())
            .append("createDate", getCreateDate())
            .append("state", getState())
            .append("productId", getProductId())
            .append("waveformsId", getWaveformsId())
            .toString();
    }
}
